package com.sl.spring.intergration.rabbitmq.topic;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class RabbitMqTest {

    @Autowired
    private Send1 send1;
    
    @Autowired
    private Send2 send2;

    @Test
    public void hello() throws Exception {
    	send1.send1();
    	send2.send2();
    }

}
